<%
  checked = all_marked? unless local_assigns.key? :checked
  options = {checked: checked, include_mark_all: true, include_checkboxes: @include_checkboxes}
%>
ActiveScaffold.mark_records('<%= active_scaffold_tbody_id %>',<%= options.to_json.html_safe %>);
<%= render 'update_messages' %>
